[INFO] fetching crate rust-embed 6.4.2...
[INFO] checking rust-embed-6.4.2 against try#ebbfb508237d160e7a5e663a930916c87c4a8a45 for pr-106493
[INFO] extracting crate rust-embed 6.4.2 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate rust-embed 6.4.2 on toolchain ebbfb508237d160e7a5e663a930916c87c4a8a45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rust-embed 6.4.2
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate rust-embed 6.4.2
[INFO] tweaked toml for crates.io crate rust-embed 6.4.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate crates.io crate rust-embed 6.4.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eee56ab6a4e537837f6c8fdb110c11308959c4ebf76ac6d459d4ff37ca06c38d
[INFO] running `Command { std: "docker" "start" "-a" "eee56ab6a4e537837f6c8fdb110c11308959c4ebf76ac6d459d4ff37ca06c38d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eee56ab6a4e537837f6c8fdb110c11308959c4ebf76ac6d459d4ff37ca06c38d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eee56ab6a4e537837f6c8fdb110c11308959c4ebf76ac6d459d4ff37ca06c38d", kill_on_drop: false }`
[INFO] [stdout] eee56ab6a4e537837f6c8fdb110c11308959c4ebf76ac6d459d4ff37ca06c38d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c659e68e851f9fd75f41d84c2a69993f4437a4f317159f47dbf460f3ad2a75c1
[INFO] running `Command { std: "docker" "start" "-a" "c659e68e851f9fd75f41d84c2a69993f4437a4f317159f47dbf460f3ad2a75c1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]     Checking sha2 v0.10.5
[INFO] [stderr]     Checking rust-embed-utils v7.3.0
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling rust-embed-impl v6.3.1
[INFO] [stderr]     Checking rust-embed v6.4.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `salvo`
[INFO] [stdout]  --> examples/salvo.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use salvo::prelude::*;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `salvo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `salvo`
[INFO] [stdout]  --> examples/salvo.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use salvo::http::{header, StatusCode};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `salvo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `salvo::http::header`, `salvo::http::StatusCode`
[INFO] [stdout]  --> examples/salvo.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use salvo::http::{header, StatusCode};
[INFO] [stdout]   |                   ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> examples/salvo.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `fn_handler` in this scope
[INFO] [stdout]   --> examples/salvo.rs:19:3
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[fn_handler]
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener`
[INFO] [stdout]   --> examples/salvo.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |   let listener = TcpListener::bind("127.0.0.1:3000");
[INFO] [stdout]    |                  ^^^^^^^^^^^ use of undeclared type `TcpListener`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Request` in this scope
[INFO] [stdout]   --> examples/salvo.rs:20:33
[INFO] [stdout]    |
[INFO] [stdout] 20 | async fn static_embed(req: &mut Request, res: &mut Response) {
[INFO] [stdout]    |                                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]   --> examples/salvo.rs:20:52
[INFO] [stdout]    |
[INFO] [stdout] 20 | async fn static_embed(req: &mut Request, res: &mut Response) {
[INFO] [stdout]    |                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Router`
[INFO] [stdout]  --> examples/salvo.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 |   let router = Router::new()
[INFO] [stdout]   |                ^^^^^^ use of undeclared type `Router`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Router`
[INFO] [stdout]  --> examples/salvo.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     .push(Router::with_path("dist/<**>").get(static_embed))
[INFO] [stdout]   |           ^^^^^^ use of undeclared type `Router`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Router`
[INFO] [stdout]  --> examples/salvo.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .push(Router::with_path("/<**>").get(static_embed));
[INFO] [stdout]   |           ^^^^^^ use of undeclared type `Router`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Server`
[INFO] [stdout]   --> examples/salvo.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 |   Server::new(listener).serve(router).await;
[INFO] [stdout]    |   ^^^^^^ use of undeclared type `Server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> examples/salvo.rs:28:18
[INFO] [stdout]    |
[INFO] [stdout] 28 |       let hash = hex::encode(content.metadata.sha256_hash());
[INFO] [stdout]    |                  ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mime_guess`
[INFO] [stdout]   --> examples/salvo.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |       let mime = mime_guess::from_path(path).first_or_octet_stream();
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared crate or module `mime_guess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> examples/salvo.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | async fn main() -> Result<(), std::io::Error> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-embed` due to 16 previous errors
[INFO] running `Command { std: "docker" "inspect" "c659e68e851f9fd75f41d84c2a69993f4437a4f317159f47dbf460f3ad2a75c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c659e68e851f9fd75f41d84c2a69993f4437a4f317159f47dbf460f3ad2a75c1", kill_on_drop: false }`
[INFO] [stdout] c659e68e851f9fd75f41d84c2a69993f4437a4f317159f47dbf460f3ad2a75c1
